home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
grafik
/
3d & render tools
/
irit
/
man
/
man6
/
ruledsrf.6
< prev
next >
Wrap
Text File
|
1996-07-16
|
1KB
|
43 lines
.TH RULEDSRF
6 "IRIT Version 6.0"
.SH NAME
RULEDSRF
SurfaceType RULEDSRF( CurveType Crv1, CurveType Crv2 )
Constructs a ruled surface between the two curves Crv1 and Crv2.
The curves do not have to have the same order or type, and will be promoted
to their least common denominator.
Example:
c1 = cbspline( 3,
list( ctlpt(E3, 1.7, 0.0 , 0 ),
ctlpt(E3, 0.7, 0.7 , 0 ),
ctlpt(E3, 1.7, 0.3 , 0 ),
ctlpt(E3, 1.5, 0.8 , 0 ),
ctlpt(E3, 1.6, 1.0 , 0 ) ),
list( KV_OPEN ) );
c2 = cbspline( 3,
list( ctlpt(E3, 0.7, 0.0 , 0 ),
ctlpt(E3,-0.7, 0.2 , 0 ),
ctlpt(E3, 0.7, 0.5 , 0 ),
ctlpt(E3,-0.7, 0.7 , 0 ),
ctlpt(E3, 0.7, 1.0 , 0 ) ) ,
list( KV_OPEN ) );
srf1 = RULEDSRF( c1, c2 );
interact( list( c1, c2, srf1 ), on );
c2a = ffmatch( c1, c2, 50, 100, 2, false, 1 );
srf2 = RULEDSRF( c1, c2a );
interact( list( c1, c2, srf2 ), on );
Constructs a planar ruled surface between two curves, c1 and c2.
The naive construction causes self intersection, but by employing FFMATCH
the self intersection can be resloved.
See also FFMATCH.